import wepy from 'wepy'

export default class testMixin extends wepy.mixin {
    data = {
        mixin: 'This is mixin data.'
    }
    methods = {
        tap () {
            console.log('mixintext')
            console.log(this.mixin)
            this.mixin = 'mixin data was changed'
            console.log(this.mixin)
      // console.log('mixin method tap')
        }
    }

    onShow() {
    // console.log('mixin onShow')
    }

    onLoad() {
    // console.log('mixin onLoad')
    }
}
